<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Bio Paola&Antonio Admin</title>
</head>
<body>

<% 
   
   // logica controllo
   if (request.getParameter("user") != null && request.getParameter("password") != null) {
		   if((request.getParameter("user").equals("admin"))){
%>
            <jsp:forward page="/bio/Admin/ListaAzioni/"/> 

 <%
           }
	   }
%>

<h2 align="center">Admin Page</h2>


<form action="/bio/Admin/" method='post'>
<table border='1' width='50%' align='center'>
	<tr align="center">
		<td>Utente</td>
	 	<td><input name='user' type="text" size='20' value=''/></td>
	</tr>
	<tr align='center'>
		<td>Password</td>
	 	<td><input name='password' type='password' size='20' align='middle'  value=''/></td>
	</tr>
	<tr align='right'>
		<td colspan='2'><input name='OK' type='submit' value='OK'/></td>
	</tr>
</table>
</form> 
</body>
</html>
